package com.dlwx.parttimetalent.adapter;

import android.content.Context;
import android.widget.TextView;

import com.baidu.mapapi.search.core.PoiInfo;
import com.dlwx.parttimetalent.R;

/**
 * Created by Administrator on 2017/11/21.
 */

public class MapChooseAdapter extends ListBaseAdapter<PoiInfo> {
    private  Context context;
    public MapChooseAdapter(Context context) {
        super(context);
        this.context=context;
    }

    @Override
    public int getLayoutId() {
        return R.layout.tv_address;
    }

    @Override
    public void onBindItemHolder(SuperViewHolder holder, int position) {
        PoiInfo bean = getDataList().get(position);
        TextView tvName = holder.getView(R.id.tv_name);
        tvName.setText(bean.name);

    }
}
